Ext.define("AM.view.user.List",{
	extend : "Ext.grid.Panel",

	alias : "widget.userList",

	title : "All Users",

	store : "Users",

	initComponent : function(){
		/*this.store = {
			fields : ["name","email"],

			data : [
				{name : "Ed", email : "ed@sencha.com"},
				{name : "Tommy",email : "tommy@sencha.com"}
			]
		};*/

		this.columns = [
			{header : "Name", dataIndex : "name", flex : 1},
			{header : "Name", dataIndex : "email", flex : 1}
		];

		this.callParent(arguments);
	}
});